<template>
  <div>Son
    <button @click="setPassWord()">点击这里-哦哦哦</button>
  </div>
</template>

<script>
export default {
    data() {
        return {
            password:5201314,
        }
    },
    methods:{
        setPassWord(){
            this.$emit("getPassWord",this.password)
        }
    },
}
</script>

<style>

</style>